package com.tianji.StragyHttp.dto;



import com.tianji.StragyHttp.enumr.CustomerAnalysisEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

@Data
@ApiModel("客户分析基础参数对象")
public class BaseCustomerAnalysisDTO implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("业务类型 1-用户资产概览 2-用户资产分析 3-购买频次分布 4-消费金额分布 5-回购周期分布 6-客单价分布 7-最近购买时长分布")
    @NotNull(message = "业务类型不能为空")
    private Integer bizType;

    @ApiModelProperty("查询条件 近一年 365 历史所有 -1")
    private Integer day;

    @ApiModelProperty("查询类型：1-按店铺维度 2-按平台维度")
    private Integer queryType;

    @ApiModelProperty("导出备注")
    private String remark;

    @ApiModelProperty(value = "间隔数（从analysisConfig中获取）", hidden = true)
    private Integer interval;

    @ApiModelProperty(value = "成员id", hidden = true)
    private Long userId;

    @ApiModelProperty(value = "企业id", hidden = true)
    private Long cid;


    @ApiModelProperty(value = "根据bizType获取到的对应枚举", hidden = true)
    private CustomerAnalysisEnum customerAnalysisEnum;

}
